package io;

import java.io.File;

public class demo5 {
    public static void main(String[] args) {
        File file = new File("./test");
        //mk -> make
        //dir -> directory
        //创建单级目录
        file.mkdir();
        //创建多级目录
        File file1 = new File("./test1/test2");
        file1.mkdirs();
    }
}
